<?php
namespace app;

use app\bock\type\SenceBock;
use app\game\Scenes;
use app\log\Log;
use app\router\Router;
use DI\Annotation\Inject;

class Index
{
    /**
     * @var Log $log
     */
    protected $log;

    /**
     * @Inject()
     * @var SenceBock
     */
    protected $scenes;

    /**
     * @Inject()
     * @param Log $log
     */
    public function setLog($log)
    {
        $this->log = $log;
    }


    public function index()
    {
        $this->scenes->run();
    }
}